using B.S.XZYData.Api.Read.Dto.Plan;
using B.S.XZYData.ErrorCode;
using MediatR;

namespace B.S.XZYData.Api.Read.Application.Command.Plan
{
    /// <summary>
    /// 获取生产计划分页列表命令
    /// </summary>
    public class GetPlanPageCommand : IRequest<ApiPageing<PlanDto>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// 页大小
        /// </summary>
        public int Size { get; set; }

        /// <summary>
        /// 计划单号（模糊查询）
        /// </summary>
        public string? PlanCode { get; set; }

        /// <summary>
        /// 备注（模糊查询）
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }
    }
} 